<template>
  <div class="movie">
    <h1>这是我想看的</h1>
    <ul>
        <li v-for='movie in myMovieList' :key='movie.tvId'>  {{movie.albumName}}</li>
      
    </ul>
    <h1>这是我想传的</h1>
    <ul>
        <li v-for="movie in yourMovieList" :key="movie.tvId">
            {{movie.albumName}}
        </li>
    </ul>
  </div>
</template>

<script>

import { mapGetters } from 'vuex'
export default {
    name : 'Movie',
   
 computed :{
        ...mapGetters('count',['myMovieList']),


        yourMovieList() {
            return this.$store.getters["count/yourMovieList"]({ start: 2, end: 4 })
        }
    }

}

</script>

<style>
.movie {
  background: pink;
  margin: 30px;
}
</style>